﻿<UserControl x:Class="VkClientIM.UI.Settings"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<DockPanel Background="White">
		<TextBlock Text="Быстрые настройки" DockPanel.Dock="Top" />
		<Expander Header="Прокси" DockPanel.Dock="Top" >
			<Expander.Content>
				<DockPanel>
					<CheckBox Content="Использовать прокси" DockPanel.Dock="Top"/>
					<GroupBox DockPanel.Dock="Top" BorderThickness="0">
						<DockPanel>
							<RadioButton Name="proxySystemSettings" Margin="20,0,0,0" Content="Системные настройки(Авто)" DockPanel.Dock="Top" IsChecked="True"/>
							<RadioButton Name="proxyDirect" Margin="20,0,0,0" DockPanel.Dock="Top">
								<RadioButton.Content>
									<StackPanel Orientation="Horizontal">
										<TextBlock Text="Адрес:"/>
										<TextBox Width="100"/>
										<TextBlock Text="Порт:"/>
										<TextBox Width="50"/>
									</StackPanel>
									
								</RadioButton.Content>
							</RadioButton>
							<RadioButton Name="proxyAuto" Margin="20,0,0,0" Content="Работа - Авто. Дом - без прокси"/>
						</DockPanel>
					</GroupBox>
					<Button Content="Настройка домашнего режима" DockPanel.Dock="Top"/>
					<CheckBox Content="Прокси требует авторизацию" Name="proxyNeedAuth" DockPanel.Dock="Top"/>
					<GroupBox DockPanel.Dock="Top" BorderThickness="0">
						<GroupBox.Content>
							<DockPanel LastChildFill="False">
								<RadioButton  Margin="20,0,0,0" Content="NTLM(Windows)"  DockPanel.Dock="Top" IsChecked="True"/>
								<RadioButton Margin="20,0,0,0" Content="Логин и пароль" DockPanel.Dock="Top" Visibility="Hidden"/>
								<StackPanel Margin="0,0,0,0" Orientation="Horizontal" DockPanel.Dock="Top" Visibility="Hidden">
									<TextBlock Text="Логин:"/>
									<TextBox Text="" Width="100" />
									<TextBlock Text="Пароль:"/>
									<TextBox Text="" Width="100" />
								</StackPanel>
							</DockPanel>
						</GroupBox.Content>
					</GroupBox>
					<TextBlock Foreground="Red" Text="сообщения об ошибках"/>
				</DockPanel>
				</Expander.Content>
		</Expander>
	</DockPanel>
</UserControl>
